package com.moshang.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moshang.blog.entity.SysDict;

import java.util.List;

/**
 * @program: blog
 * @description: ${description}
 * @author: xieweiwei
 * @create: 2018-11-15 15:03
 **/
public interface SysDictService extends IService<SysDict> {
    List<String> findDistinctType();

    void saveOrUpdateDict(SysDict sysDict,String type);

    List<SysDict> findByCondition(String type);

    SysDict selectByCondition(String type, String value);
}
